package com.sinosoft.orderinfomodel;

import java.util.List;

import com.sinosoft.base.GenericDao;

public interface OrderInfoModelDao extends GenericDao<OrderInfoModel, Long> {

	public List<OrderInfoModel> getOrderInfoModelList(String hql);
	
	public OrderInfoModel saveOrderInfoModel(OrderInfoModel o);
	
	public OrderInfoModel getOrderInfoModelById(String id);
	
	public void removeOrderInfo(OrderInfoModel orderinfo);
	
	public OrderInfoModel getOrderInfoModelByDefaultAndUsername(String username,int isdefault);
	
	public OrderInfoModel getSystemOrderInfoModel();
	
	public int getOrderInfoModelCount(String sql);
	
	public List<OrderInfoModel> getOrderInfoModelList(OrderInfoModel orderinfo,int first,int pagesize);
	
	public OrderInfoModel getOrderInfoModelBySystem();
	
	public List<OrderInfoModel> getOrderInfoModel(String sql);
	
	public OrderInfoModel updateInfoModel(OrderInfoModel o);
	
	public OrderInfoModel getSystemOrderInfoModel(String productlevel,String satelliteid,String sensorid);
	
	public OrderInfoModel saveOrderInfoModelExistDefaultModel(OrderInfoModel o,String username, int defa);
}
